package com.yn.pet.controller.pc.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AlarmUpdateRequest {

    @ApiModelProperty("设备同步id")
    @NotNull
    private Long id;

    //围栏报警(bit 8)
    @ApiModelProperty("围栏报警")
    private Integer fenceEnabled;

    //离线报警(bit 7)
    @ApiModelProperty("离线报警")
    private Integer offlineEnabled;

    //低电量报警(bit 6)
    @ApiModelProperty("低电量报警")
    private Integer lowBatteryEnabled;

    //震动报警 (bit 2)
    @ApiModelProperty("震动报警")
    private Integer vibrationEnabled;
}
